﻿/// <reference name="MicrosoftAjax.js"/>

Type.registerNamespace("YUIAspNet");

YUIAspNet.SimpleDialog = function(element) {
    YUIAspNet.SimpleDialog.initializeBase(this, [element]);
}

YUIAspNet.SimpleDialog.prototype = {
    initialize: function() {
        YUIAspNet.SimpleDialog.callBaseMethod(this, 'initialize');
    },

    initializeYUIControl: function(sender, args) {
       var dialogID = this._prepareDialog();
       
       this._yuiControl = new YAHOO.widget.SimpleDialog(dialogID, this._getConfig());
				 
	   this._updateContent();
    }
}

YUIAspNet.SimpleDialog.registerClass('YUIAspNet.SimpleDialog', YUIAspNet.Dialog);
